home *** CD-ROM | disk | FTP | other *** search
/ Software USA: Summer Spectacular / Software USA Summer Spectacular.iso / mac / Education / ChemStack / ChemStack 1.0b4 / cards.xml < prev    next >
Text File  |  1998-06-23  |  48KB  |  1,438 lines

  1. card_5016.xml
  2. <?xml version="1.0" encoding="utf-8" ?>
  3. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  4. <card>
  5.     <id>5016</id>
  6.     <filler1>0</filler1>
  7.     <cantDelete> <false /> </cantDelete>
  8.     <showPict> <true /> </showPict>
  9.     <dontSearch> <false /> </dontSearch>
  10.     <owner>2648</owner>
  11.     <link rel="stylesheet" type="text/css" href="stylesheet_3112.css" />
  12.     <part>
  13.         <id>1</id>
  14.         <type>field</type>
  15.         <visible> <true /> </visible>
  16.         <dontWrap> <false /> </dontWrap>
  17.         <dontSearch> <false /> </dontSearch>
  18.         <sharedText> <false /> </sharedText>
  19.         <fixedLineHeight> <false /> </fixedLineHeight>
  20.         <autoTab> <false /> </autoTab>
  21.         <lockText> <true /> </lockText>
  22.         <rect>
  23.             <left>5</left>
  24.             <top>60</top>
  25.             <right>507</right>
  26.             <bottom>337</bottom>
  27.         </rect>
  28.         <style>scrolling</style>
  29.         <autoSelect> <false /> </autoSelect>
  30.         <showLines> <false /> </showLines>
  31.         <wideMargins> <false /> </wideMargins>
  32.         <multipleLines> <false /> </multipleLines>
  33.         <reservedFamily> 0 </reservedFamily>
  34.         <titleWidth>0</titleWidth>
  35.         <icon>0</icon>
  36.         <textAlign>left</textAlign>
  37.         <font>Geneva</font>
  38.         <textSize>12</textSize>
  39.         <textStyle>plain</textStyle>
  40.         <textHeight>16</textHeight>
  41.         <name>Help Field</name>
  42.         <script></script>
  43.     </part>
  44.     <content>
  45.         <layer>background</layer>
  46.         <id>1</id>
  47.         <text><span class="style2">elp!</span></text>
  48.     </content>
  49.     <content>
  50.         <layer>card</layer>
  51.         <id>1</id>
  52.         <text><span class="style3">    </span><span class="style6">1. - What is ChemStack?</span><span class="style3">     ChemStack is a HyperCard stack which allows quick and dirty calculation for the formula weight and percentage compositions of compounds comprised of up to 4 different types of atoms.  It's meant to be a help to high school chem students (like myself), who are sick and tired of having to write out equations to find this stuff; instead, just plug the symbols, number of atoms, and, if you want to, </span><span class="style4">your own customized atomic weight</span><span class="style3">  (cool, huh?!).     </span><span class="style6">2. - How to Use ChemStack</span><span class="style3">     To use ChemStack, first place a checkmark next to the element rows you'll be using.  Next, type in the symbols of the elements in the compound.  If there's only one atom of each element present, this is the only data you'll have to enter.  ChemStack has its own built-in periodic table (well, not really, but it's functionally  equivalent) so it can look up atomic weights for the symbols you type in.  It'll also place a 1 in the Quantity field if you leave it empty, so it's actually kind of convenient.     Once you've got your symbols in, type in any quantities and/or weights that you need to.  Once you've entered all the data, you can click the Calculate button or press return to calculate the results.     Once you're done viewing the results, click the Clear button to erase the contents of the fields.  Have fun!     </span><span class="style6">3. - Contacting the Author</span><span class="style3">     If, for some reason, you need more help with ChemStack, or just have something interesting to tell me, e-mail me at:                                    </span><span class="style6">rfredric@midstate.tds.net</span><span class="style3">Happy cheating!                                                          Rusty (a.k.a "Pascual")</span></text>
  53.     </content>
  54.     <name>Help Card</name>
  55.     <script>on mouseUpvisual effect push downgo cd "Chem Card"end mouseUp</script>
  56. </card>
  57.  
  58.  
  59. card_4420.xml
  60. <?xml version="1.0" encoding="utf-8" ?>
  61. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  62. <card>
  63.     <id>4420</id>
  64.     <filler1>0</filler1>
  65.     <bitmap>BMAP_4709.pbm</bitmap>
  66.     <cantDelete> <false /> </cantDelete>
  67.     <showPict> <true /> </showPict>
  68.     <dontSearch> <false /> </dontSearch>
  69.     <owner>2648</owner>
  70.     <link rel="stylesheet" type="text/css" href="stylesheet_3112.css" />
  71.     <part>
  72.         <id>2</id>
  73.         <type>field</type>
  74.         <visible> <true /> </visible>
  75.         <dontWrap> <false /> </dontWrap>
  76.         <dontSearch> <false /> </dontSearch>
  77.         <sharedText> <false /> </sharedText>
  78.         <fixedLineHeight> <false /> </fixedLineHeight>
  79.         <autoTab> <false /> </autoTab>
  80.         <lockText> <true /> </lockText>
  81.         <rect>
  82.             <left>5</left>
  83.             <top>60</top>
  84.             <right>507</right>
  85.             <bottom>337</bottom>
  86.         </rect>
  87.         <style>rectangle</style>
  88.         <autoSelect> <false /> </autoSelect>
  89.         <showLines> <false /> </showLines>
  90.         <wideMargins> <false /> </wideMargins>
  91.         <multipleLines> <false /> </multipleLines>
  92.         <reservedFamily> 0 </reservedFamily>
  93.         <titleWidth>0</titleWidth>
  94.         <icon>0</icon>
  95.         <textAlign>left</textAlign>
  96.         <font>Geneva</font>
  97.         <textSize>12</textSize>
  98.         <textStyle>plain</textStyle>
  99.         <textHeight>16</textHeight>
  100.         <name></name>
  101.         <script></script>
  102.     </part>
  103.     <content>
  104.         <layer>background</layer>
  105.         <id>1</id>
  106.         <text><span class="style2">bout‚Ķ</span></text>
  107.     </content>
  108.     <content>
  109.         <layer>card</layer>
  110.         <id>2</id>
  111.         <text><span class="style3">    ChemStack is a simple little stack for people who are sick of writing out equations the long way when what they should really be doing is studying the effects of hydrochloric acid on white lab rats.  I made it in about 3 or four hours after I got insanely bored of figuring out formula weights and percentages by writing out all the parts of the equation (which we were required to do for our homework, which, consequently, I still haven't done).       Anyway, I hope that you find this stack useful, but do yourself a favor - if you honest to God don't know how to find formula weights and percentage compositions the long way, figure out how to do it </span><span class="style4">before  </span><span class="style3">you start using this stack.  I am not responsible in any way shape or form for any laziness or ignorance which is caused by the use of this stack.  However, if you like it, I certainly wouldn't mind receiving a small fee, somewhere in the area of $2 to $5 (U.S. dollars).     Although ChemStack currently only does weights and percentages, I'm open to suggestions.  E-mail me at:                                         </span><span class="style5">rfredric@midstate.tds.net</span><span class="style3">                                                                                 Rusty</span></text>
  112.     </content>
  113.     <name></name>
  114.     <script>on mouseUpvisual effect push rightgo prevend mouseUp</script>
  115. </card>
  116.  
  117.  
  118. card_3761.xml
  119. <?xml version="1.0" encoding="utf-8" ?>
  120. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  121. <card>
  122.     <id>3761</id>
  123.     <filler1>0</filler1>
  124.     <bitmap>BMAP_4186.pbm</bitmap>
  125.     <cantDelete> <false /> </cantDelete>
  126.     <showPict> <true /> </showPict>
  127.     <dontSearch> <false /> </dontSearch>
  128.     <owner>2648</owner>
  129.     <link rel="stylesheet" type="text/css" href="stylesheet_3112.css" />
  130.     <part>
  131.         <id>2</id>
  132.         <type>field</type>
  133.         <visible> <true /> </visible>
  134.         <dontWrap> <false /> </dontWrap>
  135.         <dontSearch> <false /> </dontSearch>
  136.         <sharedText> <false /> </sharedText>
  137.         <fixedLineHeight> <false /> </fixedLineHeight>
  138.         <autoTab> <false /> </autoTab>
  139.         <lockText> <true /> </lockText>
  140.         <rect>
  141.             <left>26</left>
  142.             <top>74</top>
  143.             <right>93</right>
  144.             <bottom>93</bottom>
  145.         </rect>
  146.         <style>opaque</style>
  147.         <autoSelect> <false /> </autoSelect>
  148.         <showLines> <false /> </showLines>
  149.         <wideMargins> <false /> </wideMargins>
  150.         <multipleLines> <false /> </multipleLines>
  151.         <reservedFamily> 0 </reservedFamily>
  152.         <titleWidth>0</titleWidth>
  153.         <icon>0</icon>
  154.         <textAlign>center</textAlign>
  155.         <font>Palatino</font>
  156.         <textSize>12</textSize>
  157.         <textStyle>plain</textStyle>
  158.         <textHeight>16</textHeight>
  159.         <name></name>
  160.         <script></script>
  161.     </part>
  162.     <part>
  163.         <id>3</id>
  164.         <type>field</type>
  165.         <visible> <true /> </visible>
  166.         <dontWrap> <false /> </dontWrap>
  167.         <dontSearch> <false /> </dontSearch>
  168.         <sharedText> <false /> </sharedText>
  169.         <fixedLineHeight> <false /> </fixedLineHeight>
  170.         <autoTab> <false /> </autoTab>
  171.         <lockText> <true /> </lockText>
  172.         <rect>
  173.             <left>106</left>
  174.             <top>74</top>
  175.             <right>173</right>
  176.             <bottom>93</bottom>
  177.         </rect>
  178.         <style>opaque</style>
  179.         <autoSelect> <false /> </autoSelect>
  180.         <showLines> <false /> </showLines>
  181.         <wideMargins> <false /> </wideMargins>
  182.         <multipleLines> <false /> </multipleLines>
  183.         <reservedFamily> 0 </reservedFamily>
  184.         <titleWidth>0</titleWidth>
  185.         <icon>0</icon>
  186.         <textAlign>center</textAlign>
  187.         <font>Palatino</font>
  188.         <textSize>12</textSize>
  189.         <textStyle>plain</textStyle>
  190.         <textHeight>16</textHeight>
  191.         <name></name>
  192.         <script></script>
  193.     </part>
  194.     <part>
  195.         <id>4</id>
  196.         <type>field</type>
  197.         <visible> <true /> </visible>
  198.         <dontWrap> <false /> </dontWrap>
  199.         <dontSearch> <false /> </dontSearch>
  200.         <sharedText> <false /> </sharedText>
  201.         <fixedLineHeight> <false /> </fixedLineHeight>
  202.         <autoTab> <false /> </autoTab>
  203.         <lockText> <true /> </lockText>
  204.         <rect>
  205.             <left>187</left>
  206.             <top>74</top>
  207.             <right>254</right>
  208.             <bottom>93</bottom>
  209.         </rect>
  210.         <style>opaque</style>
  211.         <autoSelect> <false /> </autoSelect>
  212.         <showLines> <false /> </showLines>
  213.         <wideMargins> <false /> </wideMargins>
  214.         <multipleLines> <false /> </multipleLines>
  215.         <reservedFamily> 0 </reservedFamily>
  216.         <titleWidth>0</titleWidth>
  217.         <icon>0</icon>
  218.         <textAlign>center</textAlign>
  219.         <font>Palatino</font>
  220.         <textSize>12</textSize>
  221.         <textStyle>plain</textStyle>
  222.         <textHeight>16</textHeight>
  223.         <name></name>
  224.         <script></script>
  225.     </part>
  226.     <part>
  227.         <id>5</id>
  228.         <type>field</type>
  229.         <visible> <true /> </visible>
  230.         <dontWrap> <false /> </dontWrap>
  231.         <dontSearch> <false /> </dontSearch>
  232.         <sharedText> <false /> </sharedText>
  233.         <fixedLineHeight> <false /> </fixedLineHeight>
  234.         <autoTab> <false /> </autoTab>
  235.         <lockText> <true /> </lockText>
  236.         <rect>
  237.             <left>266</left>
  238.             <top>74</top>
  239.             <right>333</right>
  240.             <bottom>93</bottom>
  241.         </rect>
  242.         <style>opaque</style>
  243.         <autoSelect> <false /> </autoSelect>
  244.         <showLines> <false /> </showLines>
  245.         <wideMargins> <false /> </wideMargins>
  246.         <multipleLines> <false /> </multipleLines>
  247.         <reservedFamily> 0 </reservedFamily>
  248.         <titleWidth>0</titleWidth>
  249.         <icon>0</icon>
  250.         <textAlign>center</textAlign>
  251.         <font>Palatino</font>
  252.         <textSize>12</textSize>
  253.         <textStyle>plain</textStyle>
  254.         <textHeight>16</textHeight>
  255.         <name></name>
  256.         <script></script>
  257.     </part>
  258.     <part>
  259.         <id>6</id>
  260.         <type>field</type>
  261.         <visible> <true /> </visible>
  262.         <dontWrap> <false /> </dontWrap>
  263.         <dontSearch> <false /> </dontSearch>
  264.         <sharedText> <false /> </sharedText>
  265.         <fixedLineHeight> <false /> </fixedLineHeight>
  266.         <autoTab> <false /> </autoTab>
  267.         <lockText> <false /> </lockText>
  268.         <rect>
  269.             <left>26</left>
  270.             <top>110</top>
  271.             <right>93</right>
  272.             <bottom>129</bottom>
  273.         </rect>
  274.         <style>rectangle</style>
  275.         <autoSelect> <false /> </autoSelect>
  276.         <showLines> <false /> </showLines>
  277.         <wideMargins> <false /> </wideMargins>
  278.         <multipleLines> <false /> </multipleLines>
  279.         <reservedFamily> 0 </reservedFamily>
  280.         <titleWidth>0</titleWidth>
  281.         <icon>0</icon>
  282.         <textAlign>left</textAlign>
  283.         <font>Geneva</font>
  284.         <textSize>12</textSize>
  285.         <textStyle>plain</textStyle>
  286.         <textHeight>16</textHeight>
  287.         <name>Symbol 1</name>
  288.         <script></script>
  289.     </part>
  290.     <part>
  291.         <id>7</id>
  292.         <type>field</type>
  293.         <visible> <true /> </visible>
  294.         <dontWrap> <false /> </dontWrap>
  295.         <dontSearch> <false /> </dontSearch>
  296.         <sharedText> <false /> </sharedText>
  297.         <fixedLineHeight> <false /> </fixedLineHeight>
  298.         <autoTab> <false /> </autoTab>
  299.         <lockText> <false /> </lockText>
  300.         <rect>
  301.             <left>106</left>
  302.             <top>110</top>
  303.             <right>173</right>
  304.             <bottom>129</bottom>
  305.         </rect>
  306.         <style>rectangle</style>
  307.         <autoSelect> <false /> </autoSelect>
  308.         <showLines> <false /> </showLines>
  309.         <wideMargins> <false /> </wideMargins>
  310.         <multipleLines> <false /> </multipleLines>
  311.         <reservedFamily> 0 </reservedFamily>
  312.         <titleWidth>0</titleWidth>
  313.         <icon>0</icon>
  314.         <textAlign>left</textAlign>
  315.         <font>Geneva</font>
  316.         <textSize>12</textSize>
  317.         <textStyle>plain</textStyle>
  318.         <textHeight>16</textHeight>
  319.         <name>Weight 1</name>
  320.         <script></script>
  321.     </part>
  322.     <part>
  323.         <id>8</id>
  324.         <type>field</type>
  325.         <visible> <true /> </visible>
  326.         <dontWrap> <false /> </dontWrap>
  327.         <dontSearch> <false /> </dontSearch>
  328.         <sharedText> <false /> </sharedText>
  329.         <fixedLineHeight> <false /> </fixedLineHeight>
  330.         <autoTab> <false /> </autoTab>
  331.         <lockText> <false /> </lockText>
  332.         <rect>
  333.             <left>187</left>
  334.             <top>110</top>
  335.             <right>254</right>
  336.             <bottom>129</bottom>
  337.         </rect>
  338.         <style>rectangle</style>
  339.         <autoSelect> <false /> </autoSelect>
  340.         <showLines> <false /> </showLines>
  341.         <wideMargins> <false /> </wideMargins>
  342.         <multipleLines> <false /> </multipleLines>
  343.         <reservedFamily> 0 </reservedFamily>
  344.         <titleWidth>0</titleWidth>
  345.         <icon>0</icon>
  346.         <textAlign>left</textAlign>
  347.         <font>Geneva</font>
  348.         <textSize>12</textSize>
  349.         <textStyle>plain</textStyle>
  350.         <textHeight>16</textHeight>
  351.         <name>Number 1</name>
  352.         <script></script>
  353.     </part>
  354.     <part>
  355.         <id>9</id>
  356.         <type>field</type>
  357.         <visible> <true /> </visible>
  358.         <dontWrap> <false /> </dontWrap>
  359.         <dontSearch> <false /> </dontSearch>
  360.         <sharedText> <false /> </sharedText>
  361.         <fixedLineHeight> <false /> </fixedLineHeight>
  362.         <autoTab> <false /> </autoTab>
  363.         <lockText> <true /> </lockText>
  364.         <rect>
  365.             <left>266</left>
  366.             <top>110</top>
  367.             <right>333</right>
  368.             <bottom>129</bottom>
  369.         </rect>
  370.         <style>rectangle</style>
  371.         <autoSelect> <false /> </autoSelect>
  372.         <showLines> <false /> </showLines>
  373.         <wideMargins> <false /> </wideMargins>
  374.         <multipleLines> <false /> </multipleLines>
  375.         <reservedFamily> 0 </reservedFamily>
  376.         <titleWidth>0</titleWidth>
  377.         <icon>0</icon>
  378.         <textAlign>left</textAlign>
  379.         <font>Geneva</font>
  380.         <textSize>12</textSize>
  381.         <textStyle>plain</textStyle>
  382.         <textHeight>16</textHeight>
  383.         <name>Total 1</name>
  384.         <script></script>
  385.     </part>
  386.     <part>
  387.         <id>10</id>
  388.         <type>field</type>
  389.         <visible> <true /> </visible>
  390.         <dontWrap> <false /> </dontWrap>
  391.         <dontSearch> <false /> </dontSearch>
  392.         <sharedText> <false /> </sharedText>
  393.         <fixedLineHeight> <false /> </fixedLineHeight>
  394.         <autoTab> <false /> </autoTab>
  395.         <lockText> <false /> </lockText>
  396.         <rect>
  397.             <left>26</left>
  398.             <top>146</top>
  399.             <right>93</right>
  400.             <bottom>165</bottom>
  401.         </rect>
  402.         <style>rectangle</style>
  403.         <autoSelect> <false /> </autoSelect>
  404.         <showLines> <false /> </showLines>
  405.         <wideMargins> <false /> </wideMargins>
  406.         <multipleLines> <false /> </multipleLines>
  407.         <reservedFamily> 0 </reservedFamily>
  408.         <titleWidth>0</titleWidth>
  409.         <icon>0</icon>
  410.         <textAlign>left</textAlign>
  411.         <font>Geneva</font>
  412.         <textSize>12</textSize>
  413.         <textStyle>plain</textStyle>
  414.         <textHeight>16</textHeight>
  415.         <name>Symbol 2</name>
  416.         <script></script>
  417.     </part>
  418.     <part>
  419.         <id>11</id>
  420.         <type>field</type>
  421.         <visible> <true /> </visible>
  422.         <dontWrap> <false /> </dontWrap>
  423.         <dontSearch> <false /> </dontSearch>
  424.         <sharedText> <false /> </sharedText>
  425.         <fixedLineHeight> <false /> </fixedLineHeight>
  426.         <autoTab> <false /> </autoTab>
  427.         <lockText> <false /> </lockText>
  428.         <rect>
  429.             <left>106</left>
  430.             <top>146</top>
  431.             <right>173</right>
  432.             <bottom>165</bottom>
  433.         </rect>
  434.         <style>rectangle</style>
  435.         <autoSelect> <false /> </autoSelect>
  436.         <showLines> <false /> </showLines>
  437.         <wideMargins> <false /> </wideMargins>
  438.         <multipleLines> <false /> </multipleLines>
  439.         <reservedFamily> 0 </reservedFamily>
  440.         <titleWidth>0</titleWidth>
  441.         <icon>0</icon>
  442.         <textAlign>left</textAlign>
  443.         <font>Geneva</font>
  444.         <textSize>12</textSize>
  445.         <textStyle>plain</textStyle>
  446.         <textHeight>16</textHeight>
  447.         <name>Weight 2</name>
  448.         <script></script>
  449.     </part>
  450.     <part>
  451.         <id>12</id>
  452.         <type>field</type>
  453.         <visible> <true /> </visible>
  454.         <dontWrap> <false /> </dontWrap>
  455.         <dontSearch> <false /> </dontSearch>
  456.         <sharedText> <false /> </sharedText>
  457.         <fixedLineHeight> <false /> </fixedLineHeight>
  458.         <autoTab> <false /> </autoTab>
  459.         <lockText> <false /> </lockText>
  460.         <rect>
  461.             <left>187</left>
  462.             <top>146</top>
  463.             <right>254</right>
  464.             <bottom>165</bottom>
  465.         </rect>
  466.         <style>rectangle</style>
  467.         <autoSelect> <false /> </autoSelect>
  468.         <showLines> <false /> </showLines>
  469.         <wideMargins> <false /> </wideMargins>
  470.         <multipleLines> <false /> </multipleLines>
  471.         <reservedFamily> 0 </reservedFamily>
  472.         <titleWidth>0</titleWidth>
  473.         <icon>0</icon>
  474.         <textAlign>left</textAlign>
  475.         <font>Geneva</font>
  476.         <textSize>12</textSize>
  477.         <textStyle>plain</textStyle>
  478.         <textHeight>16</textHeight>
  479.         <name>Number 2</name>
  480.         <script></script>
  481.     </part>
  482.     <part>
  483.         <id>13</id>
  484.         <type>field</type>
  485.         <visible> <true /> </visible>
  486.         <dontWrap> <false /> </dontWrap>
  487.         <dontSearch> <false /> </dontSearch>
  488.         <sharedText> <false /> </sharedText>
  489.         <fixedLineHeight> <false /> </fixedLineHeight>
  490.         <autoTab> <false /> </autoTab>
  491.         <lockText> <true /> </lockText>
  492.         <rect>
  493.             <left>266</left>
  494.             <top>146</top>
  495.             <right>333</right>
  496.             <bottom>165</bottom>
  497.         </rect>
  498.         <style>rectangle</style>
  499.         <autoSelect> <false /> </autoSelect>
  500.         <showLines> <false /> </showLines>
  501.         <wideMargins> <false /> </wideMargins>
  502.         <multipleLines> <false /> </multipleLines>
  503.         <reservedFamily> 0 </reservedFamily>
  504.         <titleWidth>0</titleWidth>
  505.         <icon>0</icon>
  506.         <textAlign>left</textAlign>
  507.         <font>Geneva</font>
  508.         <textSize>12</textSize>
  509.         <textStyle>plain</textStyle>
  510.         <textHeight>16</textHeight>
  511.         <name>Total 2</name>
  512.         <script></script>
  513.     </part>
  514.     <part>
  515.         <id>14</id>
  516.         <type>field</type>
  517.         <visible> <true /> </visible>
  518.         <dontWrap> <false /> </dontWrap>
  519.         <dontSearch> <false /> </dontSearch>
  520.         <sharedText> <false /> </sharedText>
  521.         <fixedLineHeight> <false /> </fixedLineHeight>
  522.         <autoTab> <false /> </autoTab>
  523.         <lockText> <false /> </lockText>
  524.         <rect>
  525.             <left>26</left>
  526.             <top>182</top>
  527.             <right>93</right>
  528.             <bottom>201</bottom>
  529.         </rect>
  530.         <style>rectangle</style>
  531.         <autoSelect> <false /> </autoSelect>
  532.         <showLines> <false /> </showLines>
  533.         <wideMargins> <false /> </wideMargins>
  534.         <multipleLines> <false /> </multipleLines>
  535.         <reservedFamily> 0 </reservedFamily>
  536.         <titleWidth>0</titleWidth>
  537.         <icon>0</icon>
  538.         <textAlign>left</textAlign>
  539.         <font>Geneva</font>
  540.         <textSize>12</textSize>
  541.         <textStyle>plain</textStyle>
  542.         <textHeight>16</textHeight>
  543.         <name>Symbol 3</name>
  544.         <script></script>
  545.     </part>
  546.     <part>
  547.         <id>15</id>
  548.         <type>field</type>
  549.         <visible> <true /> </visible>
  550.         <dontWrap> <false /> </dontWrap>
  551.         <dontSearch> <false /> </dontSearch>
  552.         <sharedText> <false /> </sharedText>
  553.         <fixedLineHeight> <false /> </fixedLineHeight>
  554.         <autoTab> <false /> </autoTab>
  555.         <lockText> <false /> </lockText>
  556.         <rect>
  557.             <left>106</left>
  558.             <top>182</top>
  559.             <right>173</right>
  560.             <bottom>201</bottom>
  561.         </rect>
  562.         <style>rectangle</style>
  563.         <autoSelect> <false /> </autoSelect>
  564.         <showLines> <false /> </showLines>
  565.         <wideMargins> <false /> </wideMargins>
  566.         <multipleLines> <false /> </multipleLines>
  567.         <reservedFamily> 0 </reservedFamily>
  568.         <titleWidth>0</titleWidth>
  569.         <icon>0</icon>
  570.         <textAlign>left</textAlign>
  571.         <font>Geneva</font>
  572.         <textSize>12</textSize>
  573.         <textStyle>plain</textStyle>
  574.         <textHeight>16</textHeight>
  575.         <name>Weight 3</name>
  576.         <script></script>
  577.     </part>
  578.     <part>
  579.         <id>16</id>
  580.         <type>field</type>
  581.         <visible> <true /> </visible>
  582.         <dontWrap> <false /> </dontWrap>
  583.         <dontSearch> <false /> </dontSearch>
  584.         <sharedText> <false /> </sharedText>
  585.         <fixedLineHeight> <false /> </fixedLineHeight>
  586.         <autoTab> <false /> </autoTab>
  587.         <lockText> <false /> </lockText>
  588.         <rect>
  589.             <left>187</left>
  590.             <top>182</top>
  591.             <right>254</right>
  592.             <bottom>201</bottom>
  593.         </rect>
  594.         <style>rectangle</style>
  595.         <autoSelect> <false /> </autoSelect>
  596.         <showLines> <false /> </showLines>
  597.         <wideMargins> <false /> </wideMargins>
  598.         <multipleLines> <false /> </multipleLines>
  599.         <reservedFamily> 0 </reservedFamily>
  600.         <titleWidth>0</titleWidth>
  601.         <icon>0</icon>
  602.         <textAlign>left</textAlign>
  603.         <font>Geneva</font>
  604.         <textSize>12</textSize>
  605.         <textStyle>plain</textStyle>
  606.         <textHeight>16</textHeight>
  607.         <name>Number 3</name>
  608.         <script></script>
  609.     </part>
  610.     <part>
  611.         <id>17</id>
  612.         <type>field</type>
  613.         <visible> <true /> </visible>
  614.         <dontWrap> <false /> </dontWrap>
  615.         <dontSearch> <false /> </dontSearch>
  616.         <sharedText> <false /> </sharedText>
  617.         <fixedLineHeight> <false /> </fixedLineHeight>
  618.         <autoTab> <false /> </autoTab>
  619.         <lockText> <true /> </lockText>
  620.         <rect>
  621.             <left>266</left>
  622.             <top>182</top>
  623.             <right>333</right>
  624.             <bottom>201</bottom>
  625.         </rect>
  626.         <style>rectangle</style>
  627.         <autoSelect> <false /> </autoSelect>
  628.         <showLines> <false /> </showLines>
  629.         <wideMargins> <false /> </wideMargins>
  630.         <multipleLines> <false /> </multipleLines>
  631.         <reservedFamily> 0 </reservedFamily>
  632.         <titleWidth>0</titleWidth>
  633.         <icon>0</icon>
  634.         <textAlign>left</textAlign>
  635.         <font>Geneva</font>
  636.         <textSize>12</textSize>
  637.         <textStyle>plain</textStyle>
  638.         <textHeight>16</textHeight>
  639.         <name>Total 3</name>
  640.         <script></script>
  641.     </part>
  642.     <part>
  643.         <id>18</id>
  644.         <type>field</type>
  645.         <visible> <true /> </visible>
  646.         <dontWrap> <false /> </dontWrap>
  647.         <dontSearch> <false /> </dontSearch>
  648.         <sharedText> <false /> </sharedText>
  649.         <fixedLineHeight> <false /> </fixedLineHeight>
  650.         <autoTab> <false /> </autoTab>
  651.         <lockText> <true /> </lockText>
  652.         <rect>
  653.             <left>248</left>
  654.             <top>278</top>
  655.             <right>355</right>
  656.             <bottom>299</bottom>
  657.         </rect>
  658.         <style>shadow</style>
  659.         <autoSelect> <false /> </autoSelect>
  660.         <showLines> <false /> </showLines>
  661.         <wideMargins> <false /> </wideMargins>
  662.         <multipleLines> <false /> </multipleLines>
  663.         <reservedFamily> 0 </reservedFamily>
  664.         <titleWidth>0</titleWidth>
  665.         <icon>0</icon>
  666.         <textAlign>left</textAlign>
  667.         <font>Geneva</font>
  668.         <textSize>12</textSize>
  669.         <textStyle>plain</textStyle>
  670.         <textHeight>16</textHeight>
  671.         <name>Grand Total</name>
  672.         <script></script>
  673.     </part>
  674.     <part>
  675.         <id>19</id>
  676.         <type>field</type>
  677.         <visible> <true /> </visible>
  678.         <dontWrap> <false /> </dontWrap>
  679.         <dontSearch> <false /> </dontSearch>
  680.         <sharedText> <false /> </sharedText>
  681.         <fixedLineHeight> <false /> </fixedLineHeight>
  682.         <autoTab> <false /> </autoTab>
  683.         <lockText> <false /> </lockText>
  684.         <rect>
  685.             <left>26</left>
  686.             <top>218</top>
  687.             <right>93</right>
  688.             <bottom>237</bottom>
  689.         </rect>
  690.         <style>rectangle</style>
  691.         <autoSelect> <false /> </autoSelect>
  692.         <showLines> <false /> </showLines>
  693.         <wideMargins> <false /> </wideMargins>
  694.         <multipleLines> <false /> </multipleLines>
  695.         <reservedFamily> 0 </reservedFamily>
  696.         <titleWidth>0</titleWidth>
  697.         <icon>0</icon>
  698.         <textAlign>left</textAlign>
  699.         <font>Geneva</font>
  700.         <textSize>12</textSize>
  701.         <textStyle>plain</textStyle>
  702.         <textHeight>16</textHeight>
  703.         <name>Symbol 4</name>
  704.         <script></script>
  705.     </part>
  706.     <part>
  707.         <id>20</id>
  708.         <type>field</type>
  709.         <visible> <true /> </visible>
  710.         <dontWrap> <false /> </dontWrap>
  711.         <dontSearch> <false /> </dontSearch>
  712.         <sharedText> <false /> </sharedText>
  713.         <fixedLineHeight> <false /> </fixedLineHeight>
  714.         <autoTab> <false /> </autoTab>
  715.         <lockText> <false /> </lockText>
  716.         <rect>
  717.             <left>106</left>
  718.             <top>218</top>
  719.             <right>173</right>
  720.             <bottom>237</bottom>
  721.         </rect>
  722.         <style>rectangle</style>
  723.         <autoSelect> <false /> </autoSelect>
  724.         <showLines> <false /> </showLines>
  725.         <wideMargins> <false /> </wideMargins>
  726.         <multipleLines> <false /> </multipleLines>
  727.         <reservedFamily> 0 </reservedFamily>
  728.         <titleWidth>0</titleWidth>
  729.         <icon>0</icon>
  730.         <textAlign>left</textAlign>
  731.         <font>Geneva</font>
  732.         <textSize>12</textSize>
  733.         <textStyle>plain</textStyle>
  734.         <textHeight>16</textHeight>
  735.         <name>Weight 4</name>
  736.         <script></script>
  737.     </part>
  738.     <part>
  739.         <id>21</id>
  740.         <type>field</type>
  741.         <visible> <true /> </visible>
  742.         <dontWrap> <false /> </dontWrap>
  743.         <dontSearch> <false /> </dontSearch>
  744.         <sharedText> <false /> </sharedText>
  745.         <fixedLineHeight> <false /> </fixedLineHeight>
  746.         <autoTab> <false /> </autoTab>
  747.         <lockText> <false /> </lockText>
  748.         <rect>
  749.             <left>187</left>
  750.             <top>218</top>
  751.             <right>254</right>
  752.             <bottom>237</bottom>
  753.         </rect>
  754.         <style>rectangle</style>
  755.         <autoSelect> <false /> </autoSelect>
  756.         <showLines> <false /> </showLines>
  757.         <wideMargins> <false /> </wideMargins>
  758.         <multipleLines> <false /> </multipleLines>
  759.         <reservedFamily> 0 </reservedFamily>
  760.         <titleWidth>0</titleWidth>
  761.         <icon>0</icon>
  762.         <textAlign>left</textAlign>
  763.         <font>Geneva</font>
  764.         <textSize>12</textSize>
  765.         <textStyle>plain</textStyle>
  766.         <textHeight>16</textHeight>
  767.         <name>Number 4</name>
  768.         <script></script>
  769.     </part>
  770.     <part>
  771.         <id>22</id>
  772.         <type>field</type>
  773.         <visible> <true /> </visible>
  774.         <dontWrap> <false /> </dontWrap>
  775.         <dontSearch> <false /> </dontSearch>
  776.         <sharedText> <false /> </sharedText>
  777.         <fixedLineHeight> <false /> </fixedLineHeight>
  778.         <autoTab> <false /> </autoTab>
  779.         <lockText> <true /> </lockText>
  780.         <rect>
  781.             <left>266</left>
  782.             <top>218</top>
  783.             <right>333</right>
  784.             <bottom>237</bottom>
  785.         </rect>
  786.         <style>rectangle</style>
  787.         <autoSelect> <false /> </autoSelect>
  788.         <showLines> <false /> </showLines>
  789.         <wideMargins> <false /> </wideMargins>
  790.         <multipleLines> <false /> </multipleLines>
  791.         <reservedFamily> 0 </reservedFamily>
  792.         <titleWidth>0</titleWidth>
  793.         <icon>0</icon>
  794.         <textAlign>left</textAlign>
  795.         <font>Geneva</font>
  796.         <textSize>12</textSize>
  797.         <textStyle>plain</textStyle>
  798.         <textHeight>16</textHeight>
  799.         <name>Total 4</name>
  800.         <script></script>
  801.     </part>
  802.     <part>
  803.         <id>23</id>
  804.         <type>field</type>
  805.         <visible> <true /> </visible>
  806.         <dontWrap> <false /> </dontWrap>
  807.         <dontSearch> <false /> </dontSearch>
  808.         <sharedText> <false /> </sharedText>
  809.         <fixedLineHeight> <false /> </fixedLineHeight>
  810.         <autoTab> <false /> </autoTab>
  811.         <lockText> <true /> </lockText>
  812.         <rect>
  813.             <left>422</left>
  814.             <top>74</top>
  815.             <right>489</right>
  816.             <bottom>93</bottom>
  817.         </rect>
  818.         <style>opaque</style>
  819.         <autoSelect> <false /> </autoSelect>
  820.         <showLines> <false /> </showLines>
  821.         <wideMargins> <false /> </wideMargins>
  822.         <multipleLines> <false /> </multipleLines>
  823.         <reservedFamily> 0 </reservedFamily>
  824.         <titleWidth>0</titleWidth>
  825.         <icon>0</icon>
  826.         <textAlign>center</textAlign>
  827.         <font>Palatino</font>
  828.         <textSize>12</textSize>
  829.         <textStyle>plain</textStyle>
  830.         <textHeight>16</textHeight>
  831.         <name></name>
  832.         <script></script>
  833.     </part>
  834.     <part>
  835.         <id>24</id>
  836.         <type>field</type>
  837.         <visible> <true /> </visible>
  838.         <dontWrap> <false /> </dontWrap>
  839.         <dontSearch> <false /> </dontSearch>
  840.         <sharedText> <false /> </sharedText>
  841.         <fixedLineHeight> <false /> </fixedLineHeight>
  842.         <autoTab> <false /> </autoTab>
  843.         <lockText> <true /> </lockText>
  844.         <rect>
  845.             <left>422</left>
  846.             <top>110</top>
  847.             <right>492</right>
  848.             <bottom>131</bottom>
  849.         </rect>
  850.         <style>shadow</style>
  851.         <autoSelect> <false /> </autoSelect>
  852.         <showLines> <false /> </showLines>
  853.         <wideMargins> <false /> </wideMargins>
  854.         <multipleLines> <false /> </multipleLines>
  855.         <reservedFamily> 0 </reservedFamily>
  856.         <titleWidth>0</titleWidth>
  857.         <icon>0</icon>
  858.         <textAlign>left</textAlign>
  859.         <font>Geneva</font>
  860.         <textSize>12</textSize>
  861.         <textStyle>plain</textStyle>
  862.         <textHeight>16</textHeight>
  863.         <name>Percent 1</name>
  864.         <script></script>
  865.     </part>
  866.     <part>
  867.         <id>28</id>
  868.         <type>field</type>
  869.         <visible> <true /> </visible>
  870.         <dontWrap> <false /> </dontWrap>
  871.         <dontSearch> <false /> </dontSearch>
  872.         <sharedText> <false /> </sharedText>
  873.         <fixedLineHeight> <false /> </fixedLineHeight>
  874.         <autoTab> <false /> </autoTab>
  875.         <lockText> <true /> </lockText>
  876.         <rect>
  877.             <left>422</left>
  878.             <top>146</top>
  879.             <right>492</right>
  880.             <bottom>167</bottom>
  881.         </rect>
  882.         <style>shadow</style>
  883.         <autoSelect> <false /> </autoSelect>
  884.         <showLines> <false /> </showLines>
  885.         <wideMargins> <false /> </wideMargins>
  886.         <multipleLines> <false /> </multipleLines>
  887.         <reservedFamily> 0 </reservedFamily>
  888.         <titleWidth>0</titleWidth>
  889.         <icon>0</icon>
  890.         <textAlign>left</textAlign>
  891.         <font>Geneva</font>
  892.         <textSize>12</textSize>
  893.         <textStyle>plain</textStyle>
  894.         <textHeight>16</textHeight>
  895.         <name>Percent 2</name>
  896.         <script></script>
  897.     </part>
  898.     <part>
  899.         <id>29</id>
  900.         <type>field</type>
  901.         <visible> <true /> </visible>
  902.         <dontWrap> <false /> </dontWrap>
  903.         <dontSearch> <false /> </dontSearch>
  904.         <sharedText> <false /> </sharedText>
  905.         <fixedLineHeight> <false /> </fixedLineHeight>
  906.         <autoTab> <false /> </autoTab>
  907.         <lockText> <true /> </lockText>
  908.         <rect>
  909.             <left>422</left>
  910.             <top>182</top>
  911.             <right>492</right>
  912.             <bottom>203</bottom>
  913.         </rect>
  914.         <style>shadow</style>
  915.         <autoSelect> <false /> </autoSelect>
  916.         <showLines> <false /> </showLines>
  917.         <wideMargins> <false /> </wideMargins>
  918.         <multipleLines> <false /> </multipleLines>
  919.         <reservedFamily> 0 </reservedFamily>
  920.         <titleWidth>0</titleWidth>
  921.         <icon>0</icon>
  922.         <textAlign>left</textAlign>
  923.         <font>Geneva</font>
  924.         <textSize>12</textSize>
  925.         <textStyle>plain</textStyle>
  926.         <textHeight>16</textHeight>
  927.         <name>Percent 3</name>
  928.         <script></script>
  929.     </part>
  930.     <part>
  931.         <id>30</id>
  932.         <type>field</type>
  933.         <visible> <true /> </visible>
  934.         <dontWrap> <false /> </dontWrap>
  935.         <dontSearch> <false /> </dontSearch>
  936.         <sharedText> <false /> </sharedText>
  937.         <fixedLineHeight> <false /> </fixedLineHeight>
  938.         <autoTab> <false /> </autoTab>
  939.         <lockText> <true /> </lockText>
  940.         <rect>
  941.             <left>422</left>
  942.             <top>218</top>
  943.             <right>492</right>
  944.             <bottom>239</bottom>
  945.         </rect>
  946.         <style>shadow</style>
  947.         <autoSelect> <false /> </autoSelect>
  948.         <showLines> <false /> </showLines>
  949.         <wideMargins> <false /> </wideMargins>
  950.         <multipleLines> <false /> </multipleLines>
  951.         <reservedFamily> 0 </reservedFamily>
  952.         <titleWidth>0</titleWidth>
  953.         <icon>0</icon>
  954.         <textAlign>left</textAlign>
  955.         <font>Geneva</font>
  956.         <textSize>12</textSize>
  957.         <textStyle>plain</textStyle>
  958.         <textHeight>16</textHeight>
  959.         <name>Percent 4</name>
  960.         <script></script>
  961.     </part>
  962.     <part>
  963.         <id>31</id>
  964.         <type>button</type>
  965.         <visible> <true /> </visible>
  966.         <reserved5> 0 </reserved5>
  967.         <reserved4> 0 </reserved4>
  968.         <reserved3> 0 </reserved3>
  969.         <reserved2> 0 </reserved2>
  970.         <reserved1> 0 </reserved1>
  971.         <enabled> <true /> </enabled>
  972.         <rect>
  973.             <left>4</left>
  974.             <top>112</top>
  975.             <right>21</right>
  976.             <bottom>128</bottom>
  977.         </rect>
  978.         <style>checkbox</style>
  979.         <showName> <false /> </showName>
  980.         <highlight> <true /> </highlight>
  981.         <autoHighlight> <true /> </autoHighlight>
  982.         <sharedHighlight> <true /> </sharedHighlight>
  983.         <family>0</family>
  984.         <titleWidth>0</titleWidth>
  985.         <icon>0</icon>
  986.         <textAlign>center</textAlign>
  987.         <font>Chicago</font>
  988.         <textSize>12</textSize>
  989.         <textStyle>plain</textStyle>
  990.         <name>Check 1</name>
  991.         <script></script>
  992.     </part>
  993.     <part>
  994.         <id>32</id>
  995.         <type>button</type>
  996.         <visible> <true /> </visible>
  997.         <reserved5> 0 </reserved5>
  998.         <reserved4> 0 </reserved4>
  999.         <reserved3> 0 </reserved3>
  1000.         <reserved2> 0 </reserved2>
  1001.         <reserved1> 0 </reserved1>
  1002.         <enabled> <true /> </enabled>
  1003.         <rect>
  1004.             <left>4</left>
  1005.             <top>148</top>
  1006.             <right>21</right>
  1007.             <bottom>164</bottom>
  1008.         </rect>
  1009.         <style>checkbox</style>
  1010.         <showName> <false /> </showName>
  1011.         <highlight> <false /> </highlight>
  1012.         <autoHighlight> <true /> </autoHighlight>
  1013.         <sharedHighlight> <true /> </sharedHighlight>
  1014.         <family>0</family>
  1015.         <titleWidth>0</titleWidth>
  1016.         <icon>0</icon>
  1017.         <textAlign>center</textAlign>
  1018.         <font>Chicago</font>
  1019.         <textSize>12</textSize>
  1020.         <textStyle>plain</textStyle>
  1021.         <name>Check 2</name>
  1022.         <script></script>
  1023.     </part>
  1024.     <part>
  1025.         <id>33</id>
  1026.         <type>button</type>
  1027.         <visible> <true /> </visible>
  1028.         <reserved5> 0 </reserved5>
  1029.         <reserved4> 0 </reserved4>
  1030.         <reserved3> 0 </reserved3>
  1031.         <reserved2> 0 </reserved2>
  1032.         <reserved1> 0 </reserved1>
  1033.         <enabled> <true /> </enabled>
  1034.         <rect>
  1035.             <left>4</left>
  1036.             <top>184</top>
  1037.             <right>21</right>
  1038.             <bottom>200</bottom>
  1039.         </rect>
  1040.         <style>checkbox</style>
  1041.         <showName> <false /> </showName>
  1042.         <highlight> <false /> </highlight>
  1043.         <autoHighlight> <true /> </autoHighlight>
  1044.         <sharedHighlight> <true /> </sharedHighlight>
  1045.         <family>0</family>
  1046.         <titleWidth>0</titleWidth>
  1047.         <icon>0</icon>
  1048.         <textAlign>center</textAlign>
  1049.         <font>Chicago</font>
  1050.         <textSize>12</textSize>
  1051.         <textStyle>plain</textStyle>
  1052.         <name>Check 3</name>
  1053.         <script></script>
  1054.     </part>
  1055.     <part>
  1056.         <id>34</id>
  1057.         <type>button</type>
  1058.         <visible> <true /> </visible>
  1059.         <reserved5> 0 </reserved5>
  1060.         <reserved4> 0 </reserved4>
  1061.         <reserved3> 0 </reserved3>
  1062.         <reserved2> 0 </reserved2>
  1063.         <reserved1> 0 </reserved1>
  1064.         <enabled> <true /> </enabled>
  1065.         <rect>
  1066.             <left>4</left>
  1067.             <top>219</top>
  1068.             <right>21</right>
  1069.             <bottom>235</bottom>
  1070.         </rect>
  1071.         <style>checkbox</style>
  1072.         <showName> <false /> </showName>
  1073.         <highlight> <false /> </highlight>
  1074.         <autoHighlight> <true /> </autoHighlight>
  1075.         <sharedHighlight> <true /> </sharedHighlight>
  1076.         <family>0</family>
  1077.         <titleWidth>0</titleWidth>
  1078.         <icon>0</icon>
  1079.         <textAlign>center</textAlign>
  1080.         <font>Chicago</font>
  1081.         <textSize>12</textSize>
  1082.         <textStyle>plain</textStyle>
  1083.         <name>Check 4</name>
  1084.         <script></script>
  1085.     </part>
  1086.     <part>
  1087.         <id>35</id>
  1088.         <type>button</type>
  1089.         <visible> <true /> </visible>
  1090.         <reserved5> 0 </reserved5>
  1091.         <reserved4> 0 </reserved4>
  1092.         <reserved3> 0 </reserved3>
  1093.         <reserved2> 0 </reserved2>
  1094.         <reserved1> 0 </reserved1>
  1095.         <enabled> <true /> </enabled>
  1096.         <rect>
  1097.             <left>25</left>
  1098.             <top>264</top>
  1099.             <right>227</right>
  1100.             <bottom>314</bottom>
  1101.         </rect>
  1102.         <style>roundrect</style>
  1103.         <showName> <true /> </showName>
  1104.         <highlight> <false /> </highlight>
  1105.         <autoHighlight> <true /> </autoHighlight>
  1106.         <sharedHighlight> <true /> </sharedHighlight>
  1107.         <family>0</family>
  1108.         <titleWidth>0</titleWidth>
  1109.         <icon>0</icon>
  1110.         <textAlign>center</textAlign>
  1111.         <font>Helvetica</font>
  1112.         <textSize>24</textSize>
  1113.         <textStyle>plain</textStyle>
  1114.         <name>Calculate</name>
  1115.         <script>on mouseUpif (the hilite of cd button "Check 1" is false and the hilite of cd button "Check 2" is false and the hilite of cd button "Check 3" is false and the hilite of cd ¬¨button "Check 4" is false) thenbeepanswer "Please type in values and then check the elements which you wish to use."exit mouseUpend ifcombineLikeSymbolsif the hilite of cd button "Check 1" is true then findElementWeight 1if the hilite of cd button "Check 2" is true then findElementWeight 2if the hilite of cd button "Check 3" is true then findElementWeight 3if the hilite of cd button "Check 4" is true then findElementWeight 4calculateTotalWeightif the hilite of cd button "Check 1" is true then findPercentage 1if the hilite of cd button "Check 2" is true then findPercentage 2if the hilite of cd button "Check 3" is true then findPercentage 3if the hilite of cd button "Check 4" is true then findPercentage 4end mouseUpon findElementWeight theElementif cd field ("Number" && theElement) is empty then put 1 into cd field ("Number" && theElement)if cd field ("Symbol" && theElement) is empty or cd field ("Symbol" && theElement) is not in cd field "Element Weight Field" thenbeepanswer "An invalid or empty symbol has been entered.  Please make sure that the symbols are correct and try again."exit to HyperCardend ifif cd field ("Weight" && theElement) is empty then put GetElementWeight(cd field ("Symbol" && theElement)) into cd field ("Weight" && theElement)put ((the value of cd field ("Weight" && theElement)) * (the value of cd field ("Number" && theElement))) into elementWeightput elementWeight into cd field ("Total" && theElement)end findElementWeighton calculateTotalWeightput empty into theTotalWeightput 1 into theElementrepeat 4 timesif the hilite of cd button ("Check" && theElement) is true thenadd (the value of cd field ("Total" && theElement)) to theTotalWeightend ifadd 1 to theElementend repeatput theTotalWeight into cd field "Grand Total"end calculateTotalWeighton findPercentage theElementput ((the value of cd field ("Total" && theElement)) / (the value of cd field "Grand Total")) into thePercentageput (thePercentage * 100) into cd field ("Percent" && theElement)end findPercentagefunction GetElementWeight theSymbolput 1 into theLinerepeat while theLine ‚⧠the number of lines in cd field "Element Weight Field"if (line (the value of theLine) of cd field "Element Weight Field") = theSymbol thenput the value of line (theLine + 1) of cd field "Element Weight Field" into theWeightexit repeatelseadd 2 to theLineend ifend repeatreturn theWeightend GetElementWeight</script>
  1116.     </part>
  1117.     <part>
  1118.         <id>37</id>
  1119.         <type>button</type>
  1120.         <visible> <true /> </visible>
  1121.         <reserved5> 0 </reserved5>
  1122.         <reserved4> 0 </reserved4>
  1123.         <reserved3> 0 </reserved3>
  1124.         <reserved2> 0 </reserved2>
  1125.         <reserved1> 0 </reserved1>
  1126.         <enabled> <true /> </enabled>
  1127.         <rect>
  1128.             <left>370</left>
  1129.             <top>264</top>
  1130.             <right>501</right>
  1131.             <bottom>286</bottom>
  1132.         </rect>
  1133.         <style>roundrect</style>
  1134.         <showName> <true /> </showName>
  1135.         <highlight> <false /> </highlight>
  1136.         <autoHighlight> <true /> </autoHighlight>
  1137.         <sharedHighlight> <true /> </sharedHighlight>
  1138.         <family>0</family>
  1139.         <titleWidth>0</titleWidth>
  1140.         <icon>0</icon>
  1141.         <textAlign>center</textAlign>
  1142.         <font>Helvetica</font>
  1143.         <textSize>18</textSize>
  1144.         <textStyle>plain</textStyle>
  1145.         <name>Clear</name>
  1146.         <script>on mouseUpput 1 into theVarrepeat 4 timesset the hilite of cd button ("Check" && theVar) to falseadd 1 to theVarend repeatclearCalculationFieldsend mouseUp</script>
  1147.     </part>
  1148.     <part>
  1149.         <id>40</id>
  1150.         <type>button</type>
  1151.         <visible> <true /> </visible>
  1152.         <reserved5> 0 </reserved5>
  1153.         <reserved4> 0 </reserved4>
  1154.         <reserved3> 0 </reserved3>
  1155.         <reserved2> 0 </reserved2>
  1156.         <reserved1> 0 </reserved1>
  1157.         <enabled> <true /> </enabled>
  1158.         <rect>
  1159.             <left>0</left>
  1160.             <top>0</top>
  1161.             <right>35</right>
  1162.             <bottom>37</bottom>
  1163.         </rect>
  1164.         <style>transparent</style>
  1165.         <showName> <false /> </showName>
  1166.         <highlight> <false /> </highlight>
  1167.         <autoHighlight> <true /> </autoHighlight>
  1168.         <sharedHighlight> <true /> </sharedHighlight>
  1169.         <family>0</family>
  1170.         <titleWidth>0</titleWidth>
  1171.         <icon>8323</icon>
  1172.         <textAlign>center</textAlign>
  1173.         <font>Chicago</font>
  1174.         <textSize>12</textSize>
  1175.         <textStyle>plain</textStyle>
  1176.         <name>Home</name>
  1177.         <script>on mouseUpgo homeend mouseUp</script>
  1178.     </part>
  1179.     <part>
  1180.         <id>41</id>
  1181.         <type>field</type>
  1182.         <visible> <false /> </visible>
  1183.         <dontWrap> <false /> </dontWrap>
  1184.         <dontSearch> <false /> </dontSearch>
  1185.         <sharedText> <false /> </sharedText>
  1186.         <fixedLineHeight> <false /> </fixedLineHeight>
  1187.         <autoTab> <false /> </autoTab>
  1188.         <lockText> <true /> </lockText>
  1189.         <rect>
  1190.             <left>335</left>
  1191.             <top>42</top>
  1192.             <right>426</right>
  1193.             <bottom>121</bottom>
  1194.         </rect>
  1195.         <style>scrolling</style>
  1196.         <autoSelect> <false /> </autoSelect>
  1197.         <showLines> <false /> </showLines>
  1198.         <wideMargins> <false /> </wideMargins>
  1199.         <multipleLines> <false /> </multipleLines>
  1200.         <reservedFamily> 0 </reservedFamily>
  1201.         <titleWidth>0</titleWidth>
  1202.         <icon>0</icon>
  1203.         <textAlign>left</textAlign>
  1204.         <font>Geneva</font>
  1205.         <textSize>12</textSize>
  1206.         <textStyle>plain</textStyle>
  1207.         <textHeight>16</textHeight>
  1208.         <name>Element Weight Field</name>
  1209.         <script></script>
  1210.     </part>
  1211.     <part>
  1212.         <id>42</id>
  1213.         <type>button</type>
  1214.         <visible> <true /> </visible>
  1215.         <reserved5> 0 </reserved5>
  1216.         <reserved4> 0 </reserved4>
  1217.         <reserved3> 0 </reserved3>
  1218.         <reserved2> 0 </reserved2>
  1219.         <reserved1> 0 </reserved1>
  1220.         <enabled> <true /> </enabled>
  1221.         <rect>
  1222.             <left>45</left>
  1223.             <top>0</top>
  1224.             <right>108</right>
  1225.             <bottom>51</bottom>
  1226.         </rect>
  1227.         <style>transparent</style>
  1228.         <showName> <false /> </showName>
  1229.         <highlight> <false /> </highlight>
  1230.         <autoHighlight> <false /> </autoHighlight>
  1231.         <sharedHighlight> <true /> </sharedHighlight>
  1232.         <family>0</family>
  1233.         <titleWidth>0</titleWidth>
  1234.         <icon>0</icon>
  1235.         <textAlign>center</textAlign>
  1236.         <font>Chicago</font>
  1237.         <textSize>12</textSize>
  1238.         <textStyle>plain</textStyle>
  1239.         <name></name>
  1240.         <script>on mouseUpvisual effect push leftgo nextend mouseUp</script>
  1241.     </part>
  1242.     <part>
  1243.         <id>44</id>
  1244.         <type>button</type>
  1245.         <visible> <true /> </visible>
  1246.         <reserved5> 0 </reserved5>
  1247.         <reserved4> 0 </reserved4>
  1248.         <reserved3> 0 </reserved3>
  1249.         <reserved2> 0 </reserved2>
  1250.         <reserved1> 0 </reserved1>
  1251.         <enabled> <true /> </enabled>
  1252.         <rect>
  1253.             <left>410</left>
  1254.             <top>0</top>
  1255.             <right>473</right>
  1256.             <bottom>51</bottom>
  1257.         </rect>
  1258.         <style>transparent</style>
  1259.         <showName> <false /> </showName>
  1260.         <highlight> <false /> </highlight>
  1261.         <autoHighlight> <false /> </autoHighlight>
  1262.         <sharedHighlight> <true /> </sharedHighlight>
  1263.         <family>0</family>
  1264.         <titleWidth>0</titleWidth>
  1265.         <icon>0</icon>
  1266.         <textAlign>center</textAlign>
  1267.         <font>Chicago</font>
  1268.         <textSize>12</textSize>
  1269.         <textStyle>plain</textStyle>
  1270.         <name></name>
  1271.         <script>on mouseUpvisual effect push leftgo nextend mouseUp</script>
  1272.     </part>
  1273.     <part>
  1274.         <id>45</id>
  1275.         <type>button</type>
  1276.         <visible> <true /> </visible>
  1277.         <reserved5> 0 </reserved5>
  1278.         <reserved4> 0 </reserved4>
  1279.         <reserved3> 0 </reserved3>
  1280.         <reserved2> 0 </reserved2>
  1281.         <reserved1> 0 </reserved1>
  1282.         <enabled> <true /> </enabled>
  1283.         <rect>
  1284.             <left>370</left>
  1285.             <top>292</top>
  1286.             <right>501</right>
  1287.             <bottom>314</bottom>
  1288.         </rect>
  1289.         <style>roundrect</style>
  1290.         <showName> <true /> </showName>
  1291.         <highlight> <false /> </highlight>
  1292.         <autoHighlight> <true /> </autoHighlight>
  1293.         <sharedHighlight> <true /> </sharedHighlight>
  1294.         <family>0</family>
  1295.         <titleWidth>0</titleWidth>
  1296.         <icon>0</icon>
  1297.         <textAlign>center</textAlign>
  1298.         <font>Helvetica</font>
  1299.         <textSize>18</textSize>
  1300.         <textStyle>plain</textStyle>
  1301.         <name>Help!</name>
  1302.         <script>on mouseUpvisual effect push upgo cd "Help Card"end mouseUp</script>
  1303.     </part>
  1304.     <content>
  1305.         <layer>card</layer>
  1306.         <id>1</id>
  1307.         <text>Formula Weight andPercentage Composition</text>
  1308.     </content>
  1309.     <content>
  1310.         <layer>background</layer>
  1311.         <id>1</id>
  1312.         <text>Formula Weight andPercentage Composition</text>
  1313.     </content>
  1314.     <content>
  1315.         <layer>card</layer>
  1316.         <id>2</id>
  1317.         <text>Symbol</text>
  1318.     </content>
  1319.     <content>
  1320.         <layer>card</layer>
  1321.         <id>3</id>
  1322.         <text>Weight</text>
  1323.     </content>
  1324.     <content>
  1325.         <layer>card</layer>
  1326.         <id>4</id>
  1327.         <text>Quantity</text>
  1328.     </content>
  1329.     <content>
  1330.         <layer>card</layer>
  1331.         <id>5</id>
  1332.         <text>Total</text>
  1333.     </content>
  1334.     <content>
  1335.         <layer>card</layer>
  1336.         <id>23</id>
  1337.         <text>Percentage</text>
  1338.     </content>
  1339.     <content>
  1340.         <layer>card</layer>
  1341.         <id>41</id>
  1342.         <text>H1.0080He4.003Li6.939Be9.012B10.811C12.01115N14.007O15.999F18.998Ne20.183Na22.990Mg24.312Al26.981Si28.086P30.974S32.064Cl35.453Ar39.948K39.102Ca40.08Sc44.956Ti47.90V50.942Cr51.996Mn54.938Fe55.847Co58.933Ni58.71Cu63.54Zn65.37Ga69.72Ge72.59As74.922Se78.96Br79.909Kr83.80Rb85.47Sr87.62Y88.905Zr91.22Nb92.906Mo95.94Tc99Ru101.07Rh192.91Pd106.4Ag107.87Cd112.40In114.82Sn118.69Sb121.75Te127.60I126.90Xe131.30Cs132.90Ba137.34La138.91Ce140.12Pr140.91Nd144.24Pm147Sm150.35Eu151.96Gd157.25Tb158.92Dy162.50Ho164.93Er167.26Tm168.93Yb173.04Lu174.97Hf178.49Ta180.95W183.85Re186.21Os190.2Ir192.2Pt195.09Au196.97Hg200.59Tl204.37Pb207.19Bi208.98Po210At210Rn222Fr223Ra226Ac227Th232.04Pa231U238.03Np237Pu242Am243Cm247Bk248Cf251Es252Fm257Md258No255Lr257Unq261Unp262Unh263</text>
  1343.     </content>
  1344.     <content>
  1345.         <layer>card</layer>
  1346.         <id>6</id>
  1347.         <text>Fe</text>
  1348.     </content>
  1349.     <content>
  1350.         <layer>card</layer>
  1351.         <id>7</id>
  1352.         <text>4.05</text>
  1353.     </content>
  1354.     <content>
  1355.         <layer>card</layer>
  1356.         <id>8</id>
  1357.         <text>5</text>
  1358.     </content>
  1359.     <content>
  1360.         <layer>card</layer>
  1361.         <id>9</id>
  1362.         <text>20.25</text>
  1363.     </content>
  1364.     <content>
  1365.         <layer>card</layer>
  1366.         <id>12</id>
  1367.         <text>1</text>
  1368.     </content>
  1369.     <content>
  1370.         <layer>card</layer>
  1371.         <id>18</id>
  1372.         <text>20.25</text>
  1373.     </content>
  1374.     <content>
  1375.         <layer>card</layer>
  1376.         <id>24</id>
  1377.         <text>100</text>
  1378.     </content>
  1379.     <name>Chem Card</name>
  1380.     <script>on clearCalculationFieldsput 1 into theFieldrepeat 4 timesput empty into cd field ("Symbol" && theField)add 1 to theFieldend repeatput 1 into theFieldrepeat 4 timesput empty into cd field ("Weight" && theField)add 1 to theFieldend repeatput 1 into theFieldrepeat 4 timesput empty into cd field ("Number" && theField)add 1 to theFieldend repeatput 1 into theFieldrepeat 4 timesput empty into cd field ("Total" && theField)add 1 to theFieldend repeatput 1 into theFieldrepeat 4 timesput empty into cd field ("Percent" && theField)add 1 to theFieldend repeatput empty into cd field "Grand Total"end clearCalculationFieldson keyDown theKeyif theKey is return then send mouseUp to cd button "Calculate"else if theKey is delete then send mouseUp to cd button "Clear"else pass keyDownend keyDownon clearCalculationLine theLineput empty into cd field ("Symbol" && theLine)put empty into cd field ("Weight" && theLine)put empty into cd field ("Number" && theLine)put empty into cd field ("Total" && theLine)put empty into cd field ("Percent" && theLine)set the hilite of cd button ("Check" && theLine) to falseend clearCalculationLineon combineLikeSymbolsif cd field "Symbol 1" is not empty thenput 2 into theLinerepeat 3 timesif (the value of cd field "Symbol 1") = (the value of cd field ("Symbol" && theLine)) thenif cd field ("Number" && theLine) is empty and the hilite of cd button ("Check" && theLine) is true then put 1 into cd field ("Number" && theLine)put cd field "Number 1" + cd field ("Number" && theLine) into theNumberput (the value of theNumber) into cd field "Number 1"clearCalculationLine theLineend ifadd 1 to theLineend repeatend ifif cd field "Symbol 2" is not empty thenput 3 into theLinerepeat 2 timesif (the value of cd field "Symbol 2") = (the value of cd field ("Symbol" && theLine)) thenif cd field ("Number" && theLine) is empty and the hilite of cd button ("Check" && theLine) is true then put 1 into cd field ("Number" && theLine)put cd field "Number 2" + cd field ("Number" && theLine) into theNumberput (the value of theNumber) into cd field "Number 2"clearCalculationLine theLineend ifadd 1 to theLineend repeatend ifif cd field "Symbol 3" is not empty thenif (the value of cd field "Symbol 3") = (the value of cd field "Symbol 4") thenif cd field "Number 4" is empty and the hilite of cd button "Check 4" is true then put 1 into cd field "Number 4"put cd field "Number 3" + cd field "Number 4" into theNumberput (the value of theNumber) into cd field "Number 3"clearCalculationLine 4end ifend ifend combineLikeSymbols</script>
  1381. </card>
  1382.  
  1383.  
  1384. card_2816.xml
  1385. <?xml version="1.0" encoding="utf-8" ?>
  1386. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  1387. <card>
  1388.     <id>2816</id>
  1389.     <filler1>0</filler1>
  1390.     <bitmap>BMAP_3912.pbm</bitmap>
  1391.     <cantDelete> <false /> </cantDelete>
  1392.     <showPict> <true /> </showPict>
  1393.     <dontSearch> <false /> </dontSearch>
  1394.     <owner>2648</owner>
  1395.     <link rel="stylesheet" type="text/css" href="stylesheet_3112.css" />
  1396.     <part>
  1397.         <id>1</id>
  1398.         <type>field</type>
  1399.         <visible> <true /> </visible>
  1400.         <dontWrap> <false /> </dontWrap>
  1401.         <dontSearch> <false /> </dontSearch>
  1402.         <sharedText> <false /> </sharedText>
  1403.         <fixedLineHeight> <false /> </fixedLineHeight>
  1404.         <autoTab> <false /> </autoTab>
  1405.         <lockText> <true /> </lockText>
  1406.         <rect>
  1407.             <left>180</left>
  1408.             <top>151</top>
  1409.             <right>342</right>
  1410.             <bottom>175</bottom>
  1411.         </rect>
  1412.         <style>transparent</style>
  1413.         <autoSelect> <false /> </autoSelect>
  1414.         <showLines> <false /> </showLines>
  1415.         <wideMargins> <false /> </wideMargins>
  1416.         <multipleLines> <false /> </multipleLines>
  1417.         <reservedFamily> 0 </reservedFamily>
  1418.         <titleWidth>0</titleWidth>
  1419.         <icon>0</icon>
  1420.         <textAlign>center</textAlign>
  1421.         <font>Palatino</font>
  1422.         <textSize>14</textSize>
  1423.         <textStyle>plain</textStyle>
  1424.         <textHeight>18</textHeight>
  1425.         <name>Version Field</name>
  1426.         <script></script>
  1427.     </part>
  1428.     <content>
  1429.         <layer>card</layer>
  1430.         <id>1</id>
  1431.         <text>Version 1.0b2</text>
  1432.     </content>
  1433.     <name></name>
  1434.     <script>on mouseUpvisual effect dissolvego nextend mouseUp</script>
  1435. </card>
  1436.  
  1437.  
  1438.